Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
scandir
scandir
List files and directories in the specified path
Name:
scandir
Category:
Directory functions
Programming Language:
php
One-line Description:
Returns an array of files and directories in the specified directory.
Related
How to List Symbolic Links in a Directory and Their Target Files Using scandir?
7
How to Use scandir and filetype to Determine File Types and Categorize Files?
10
How to Distinguish Between Directories and Files in scandir Results
1
How to Fix scandir Not Listing Hidden Files in PHP? Troubleshooting and Solutions
7
How to Use the scandir Function to List Hidden Files? Step-by-Step Guide
3
Similar Functions
chroot
chroot
Changetherootdirecto
readdir
readdir
Readentriesfromdirec
opendir
opendir
Openthedirectoryhand
scandir
scandir
Listfilesanddirector
chdir
chdir
Changedirectory
closedir
closedir
Closethedirectoryhan
rewinddir
rewinddir
Rewindthedirectoryha
dir
dir
Returnsaninstanceoft
Popular Articles
How to List Symbolic Links in a Directory and Their Target Files Using scandir?
How to Distinguish Between Directories and Files in scandir Results
How to Fix scandir Not Listing Hidden Files in PHP? Troubleshooting and Solutions
How to Use scandir and filetype to Determine File Types and Categorize Files?
How to Use the scandir Function to List Hidden Files? Step-by-Step Guide